package dfbz.线程锁;


public class demo01 {
    public static void main(String[] args) {
        RunnableImpl rannable = new RunnableImpl();
        Thread thread1 = new Thread(rannable,"窗口1");
        Thread thread2= new Thread(rannable,"窗口2");
        Thread thread3 = new Thread(rannable,"窗口3");
        thread1.start();
        thread2.start();
        thread3.start();
    }
}
